package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.model.BaseAttrInfo;
import com.atguigu.gmall.product.model.BaseAttrValue;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BaseAttrInfoService extends IService<BaseAttrInfo> {
    //根据分类Id获取平台属性集合
    List<BaseAttrInfo> attrInfoList(Long category1Id, Long category2Id, Long category3Id);
    //保存平台属性
    void saveAttrInfo(BaseAttrInfo baseAttrInfo);
    //根据attrId 查询平台属性对象
    BaseAttrInfo getAttrInfo(Long attrId);
}
